/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.shop.entity.save;

import com.thinkgem.jeesite.modules.shop.entity.goods.Goods;
import com.thinkgem.jeesite.modules.sys.entity.User;
import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 收藏表Entity
 * @author 唐君华
 * @version 2019-05-15
 */
public class Save extends DataEntity<Save> {
	
	private static final long serialVersionUID = 1L;
	private User user;		// 用户
	private Goods goods;		// 商品
	
	public Save() {
		super();
	}

	public Save(String id){
		super(id);
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	
	public Goods getGoods() {
		return goods;
	}

	public void setGoods(Goods goods) {
		this.goods = goods;
	}
	
}